package com.qf.first.base.exception;

import com.qf.first.base.result.ResultCode;

public class DaoException extends BaseException{
    public DaoException(int code, String msg) {
        super(code, msg);
    }

    public DaoException(ResultCode resultCode) {
        super(resultCode.getCode(), resultCode.getMsg());
    }
}
